package creatorMode.simpleFactoryPattern;

public enum type {

    PER_PRICE_DISCOUNT(1, "每满减"),
    RATE_DISCOUNT(2, "折扣"),
    NO_THRESHOLD(3, "无门槛"),
    PRICE_DISCOUNT(4, "满减"),
        ;
    private final int value;
    private final String desc;

    type(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
